package com.ruoyi.house_sale.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 房产资料对象 houseinfo
 * 
 * @author ruoyi
 * @date 2022-03-29
 */
public class Houseinfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 房产编号 */
    @Excel(name = "房产编号")
    private Long hourseid;

    /** 楼栋编号（外键关联TermInfo的termId字段） */
//    @Excel(name = "楼栋编号")
    private Long termid;

    /** 房产名称(由小区名称+栋号+单元+楼层+房号组合生成） */
    @Excel(name = "房产名称")
    private String hoursename;

    /** 房产类型(现房，期房) */
    @Excel(name = "房产类型")
    private String hoursetype;

    /** 业态类型（外键关联TermTypeInfo的termTypeid字段） */
    @Excel(name = "业态类型")
    private String termtype;

    /** 装修标准 */
    @Excel(name = "装修标准")
    private String fitment;

    /** 单元 */
//    @Excel(name = "单元")
    private Long unitid;

    /** 楼层 */
    @Excel(name = "楼层")
    private Long floor;

    /** 房号 */
    @Excel(name = "房号")
    private String hourseno;

    /** 合同房产号 */
    @Excel(name = "合同房产号")
    private String contractno;

    /** 销售状态(关联saleState的saleid字段） */
    @Excel(name = "销售状态")
    private String salestate;

    /** 朝向 */
    @Excel(name = "朝向")
    private String direction;

    /** 结构 */
    @Excel(name = "结构")
    private String struts;

    /** 建筑形式 */
    @Excel(name = "建筑形式")
    private String buildstyle;

    /** 户型名称(关联housemodel表主键） */
    @Excel(name = "户型名称")
    private String modelname;

    /** 几梯几户 */
    @Excel(name = "几梯几户")
    private String lift;

    /** 是否已结算(是|否） */
//    @Excel(name = "是否已结算(是|否）")
    private String isbalance;

    /** 销售面积(m2) */
    @Excel(name = "销售面积(m2)")
    private BigDecimal salearea;

    /** 套内面积(m2) */
    @Excel(name = "套内面积(m2)")
    private BigDecimal inarea;

    /** 建筑面积(m2) */
    @Excel(name = "建筑面积(m2)")
    private BigDecimal buildarea;

    /** 花园面积(m2) */
    @Excel(name = "花园面积(m2)")
    private BigDecimal viewarea;

    /** 地下室面积(m2) */
    @Excel(name = "地下室面积(m2)")
    private BigDecimal downarea;

    /** 公摊面积(m2) */
    @Excel(name = "公摊面积(m2)")
    private BigDecimal publicarea;

    /** 阳台面积(m2) */
    @Excel(name = "阳台面积(m2)")
    private BigDecimal tablearea;

    /** 露台面积(m2) */
    @Excel(name = "露台面积(m2)")
    private BigDecimal outarea;

    /** 使用率(%) */
    @Excel(name = "使用率(%)")
    private BigDecimal usepercent;

    /** 实测平台面积(m2) */
    @Excel(name = "实测平台面积(m2)")
    private BigDecimal facttablearea;

    /** 实测套内面积(m2) */
    @Excel(name = "实测套内面积(m2)")
    private BigDecimal factinarea;

    /** 实测建筑面积(m2) */
    @Excel(name = "实测建筑面积(m2)")
    private BigDecimal factbuildarea;

    /** 实测花园面积(m2) */
    @Excel(name = "实测花园面积(m2)")
    private BigDecimal factviewarea;

    /** 实测地下室面积(m2) */
    @Excel(name = "实测地下室面积(m2)")
    private BigDecimal factdownarea;

    /** 实测公摊面积(m2) */
    @Excel(name = "实测公摊面积(m2)")
    private BigDecimal factpublicarea;

    /** 房产单价(元) */
    @Excel(name = "房产单价(元)")
    private BigDecimal unitprice;

    /** 套内建筑面积单价(元) */
    @Excel(name = "套内建筑面积单价(元)")
    private BigDecimal inunitprice;

    /** 建筑面积单价(元) */
    @Excel(name = "建筑面积单价(元)")
    private BigDecimal buildunitprice;

    /** 房产总价(元) */
    @Excel(name = "房产总价(元)")
    private BigDecimal totalprice;

    /** 原始单价(元) */
    @Excel(name = "原始单价(元)")
    private BigDecimal oldtotalprice;

    /** 原始总价(元) */
    @Excel(name = "原始总价(元)")
    private BigDecimal oldunitprice;

    /** 房产底价(单价)(元) */
    @Excel(name = "房产底价(单价)(元)")
    private BigDecimal unitlowprice;

    /** 房产底价(总价)(元) */
    @Excel(name = "房产底价(总价)(元)")
    private BigDecimal totallowprice;

    /** 推出时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "推出时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date saletime;

    /** 门牌号 */
    @Excel(name = "门牌号")
    private String doorno;

    /** 折扣(%)  */
//    @Excel(name = "折扣(%)")
    private BigDecimal discount;

    /** 折后价(元) */
//    @Excel(name = "折后价(元)")
    private BigDecimal discountprice;

    /** 佣金比例 */
    @Excel(name = "佣金比例")
    private BigDecimal commisionpercent;

    /** 应付佣金 */
    @Excel(name = "应付佣金")
    private BigDecimal commisionmoney;

    /** 已付佣金 */
    @Excel(name = "已付佣金")
    private BigDecimal commisionpaid;

    /** 购房客户编号（获取客户资料编号） */
    private Long custid;
//    @Excel(name = "购房客户")
    private String custname;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    private String bgcolor;

    public void setCustname(String custname)
    {
        this.custname = custname;
    }

    public String getCustname()
    {
        return custname;
    }
    public void setBgcolor(String bgcolor)
    {
        this.bgcolor = bgcolor;
    }

    public String getBgcolor()
    {
        return bgcolor;
    }

    public void setHourseid(Long hourseid) 
    {
        this.hourseid = hourseid;
    }

    public Long getHourseid() 
    {
        return hourseid;
    }
    public void setTermid(Long termid) 
    {
        this.termid = termid;
    }

    public Long getTermid() 
    {
        return termid;
    }
    public void setHoursename(String hoursename) 
    {
        this.hoursename = hoursename;
    }

    public String getHoursename() 
    {
        return hoursename;
    }
    public void setHoursetype(String hoursetype) 
    {
        this.hoursetype = hoursetype;
    }

    public String getHoursetype() 
    {
        return hoursetype;
    }
    public void setTermtype(String termtype) 
    {
        this.termtype = termtype;
    }

    public String getTermtype() 
    {
        return termtype;
    }
    public void setFitment(String fitment) 
    {
        this.fitment = fitment;
    }

    public String getFitment() 
    {
        return fitment;
    }
    public void setUnitid(Long unitid) 
    {
        this.unitid = unitid;
    }

    public Long getUnitid() 
    {
        return unitid;
    }
    public void setFloor(Long floor) 
    {
        this.floor = floor;
    }

    public Long getFloor() 
    {
        return floor;
    }
    public void setHourseno(String hourseno) 
    {
        this.hourseno = hourseno;
    }

    public String getHourseno() 
    {
        return hourseno;
    }
    public void setContractno(String contractno) 
    {
        this.contractno = contractno;
    }

    public String getContractno() 
    {
        return contractno;
    }
    public void setSalestate(String salestate) 
    {
        this.salestate = salestate;
    }

    public String getSalestate() 
    {
        return salestate;
    }
    public void setDirection(String direction) 
    {
        this.direction = direction;
    }

    public String getDirection() 
    {
        return direction;
    }
    public void setStruts(String struts) 
    {
        this.struts = struts;
    }

    public String getStruts() 
    {
        return struts;
    }
    public void setBuildstyle(String buildstyle) 
    {
        this.buildstyle = buildstyle;
    }

    public String getBuildstyle() 
    {
        return buildstyle;
    }
    public void setModelname(String modelname) 
    {
        this.modelname = modelname;
    }

    public String getModelname() 
    {
        return modelname;
    }
    public void setLift(String lift) 
    {
        this.lift = lift;
    }

    public String getLift() 
    {
        return lift;
    }
    public void setIsbalance(String isbalance) 
    {
        this.isbalance = isbalance;
    }

    public String getIsbalance() 
    {
        return isbalance;
    }
    public void setSalearea(BigDecimal salearea) 
    {
        this.salearea = salearea;
    }

    public BigDecimal getSalearea() 
    {
        return salearea;
    }
    public void setInarea(BigDecimal inarea) 
    {
        this.inarea = inarea;
    }

    public BigDecimal getInarea() 
    {
        return inarea;
    }
    public void setBuildarea(BigDecimal buildarea) 
    {
        this.buildarea = buildarea;
    }

    public BigDecimal getBuildarea() 
    {
        return buildarea;
    }
    public void setViewarea(BigDecimal viewarea) 
    {
        this.viewarea = viewarea;
    }

    public BigDecimal getViewarea() 
    {
        return viewarea;
    }
    public void setDownarea(BigDecimal downarea) 
    {
        this.downarea = downarea;
    }

    public BigDecimal getDownarea() 
    {
        return downarea;
    }
    public void setPublicarea(BigDecimal publicarea) 
    {
        this.publicarea = publicarea;
    }

    public BigDecimal getPublicarea() 
    {
        return publicarea;
    }
    public void setTablearea(BigDecimal tablearea) 
    {
        this.tablearea = tablearea;
    }

    public BigDecimal getTablearea() 
    {
        return tablearea;
    }
    public void setOutarea(BigDecimal outarea) 
    {
        this.outarea = outarea;
    }

    public BigDecimal getOutarea() 
    {
        return outarea;
    }
    public void setUsepercent(BigDecimal usepercent) 
    {
        this.usepercent = usepercent;
    }

    public BigDecimal getUsepercent() 
    {
        return usepercent;
    }
    public void setFacttablearea(BigDecimal facttablearea) 
    {
        this.facttablearea = facttablearea;
    }

    public BigDecimal getFacttablearea() 
    {
        return facttablearea;
    }
    public void setFactinarea(BigDecimal factinarea) 
    {
        this.factinarea = factinarea;
    }

    public BigDecimal getFactinarea() 
    {
        return factinarea;
    }
    public void setFactbuildarea(BigDecimal factbuildarea) 
    {
        this.factbuildarea = factbuildarea;
    }

    public BigDecimal getFactbuildarea() 
    {
        return factbuildarea;
    }
    public void setFactviewarea(BigDecimal factviewarea) 
    {
        this.factviewarea = factviewarea;
    }

    public BigDecimal getFactviewarea() 
    {
        return factviewarea;
    }
    public void setFactdownarea(BigDecimal factdownarea) 
    {
        this.factdownarea = factdownarea;
    }

    public BigDecimal getFactdownarea() 
    {
        return factdownarea;
    }
    public void setFactpublicarea(BigDecimal factpublicarea) 
    {
        this.factpublicarea = factpublicarea;
    }

    public BigDecimal getFactpublicarea() 
    {
        return factpublicarea;
    }
    public void setUnitprice(BigDecimal unitprice) 
    {
        this.unitprice = unitprice;
    }

    public BigDecimal getUnitprice() 
    {
        return unitprice;
    }
    public void setInunitprice(BigDecimal inunitprice) 
    {
        this.inunitprice = inunitprice;
    }

    public BigDecimal getInunitprice() 
    {
        return inunitprice;
    }
    public void setBuildunitprice(BigDecimal buildunitprice) 
    {
        this.buildunitprice = buildunitprice;
    }

    public BigDecimal getBuildunitprice() 
    {
        return buildunitprice;
    }
    public void setTotalprice(BigDecimal totalprice) 
    {
        this.totalprice = totalprice;
    }

    public BigDecimal getTotalprice() 
    {
        return totalprice;
    }
    public void setOldtotalprice(BigDecimal oldtotalprice) 
    {
        this.oldtotalprice = oldtotalprice;
    }

    public BigDecimal getOldtotalprice() 
    {
        return oldtotalprice;
    }
    public void setOldunitprice(BigDecimal oldunitprice) 
    {
        this.oldunitprice = oldunitprice;
    }

    public BigDecimal getOldunitprice() 
    {
        return oldunitprice;
    }
    public void setUnitlowprice(BigDecimal unitlowprice) 
    {
        this.unitlowprice = unitlowprice;
    }

    public BigDecimal getUnitlowprice() 
    {
        return unitlowprice;
    }
    public void setTotallowprice(BigDecimal totallowprice) 
    {
        this.totallowprice = totallowprice;
    }

    public BigDecimal getTotallowprice() 
    {
        return totallowprice;
    }
    public void setSaletime(Date saletime) 
    {
        this.saletime = saletime;
    }

    public Date getSaletime() 
    {
        return saletime;
    }
    public void setDoorno(String doorno) 
    {
        this.doorno = doorno;
    }

    public String getDoorno() 
    {
        return doorno;
    }
    public void setDiscount(BigDecimal discount) 
    {
        this.discount = discount;
    }

    public BigDecimal getDiscount() 
    {
        return discount;
    }
    public void setDiscountprice(BigDecimal discountprice) 
    {
        this.discountprice = discountprice;
    }

    public BigDecimal getDiscountprice() 
    {
        return discountprice;
    }
    public void setCommisionpercent(BigDecimal commisionpercent) 
    {
        this.commisionpercent = commisionpercent;
    }

    public BigDecimal getCommisionpercent() 
    {
        return commisionpercent;
    }
    public void setCommisionmoney(BigDecimal commisionmoney) 
    {
        this.commisionmoney = commisionmoney;
    }

    public BigDecimal getCommisionmoney() 
    {
        return commisionmoney;
    }
    public void setCommisionpaid(BigDecimal commisionpaid) 
    {
        this.commisionpaid = commisionpaid;
    }

    public BigDecimal getCommisionpaid() 
    {
        return commisionpaid;
    }
    public void setCustid(Long custid) 
    {
        this.custid = custid;
    }

    public Long getCustid() 
    {
        return custid;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("hourseid", getHourseid())
            .append("termid", getTermid())
            .append("hoursename", getHoursename())
            .append("hoursetype", getHoursetype())
            .append("termtype", getTermtype())
            .append("fitment", getFitment())
            .append("unitid", getUnitid())
            .append("floor", getFloor())
            .append("hourseno", getHourseno())
            .append("contractno", getContractno())
            .append("salestate", getSalestate())
            .append("direction", getDirection())
            .append("struts", getStruts())
            .append("buildstyle", getBuildstyle())
            .append("modelname", getModelname())
            .append("lift", getLift())
            .append("isbalance", getIsbalance())
            .append("salearea", getSalearea())
            .append("inarea", getInarea())
            .append("buildarea", getBuildarea())
            .append("viewarea", getViewarea())
            .append("downarea", getDownarea())
            .append("publicarea", getPublicarea())
            .append("tablearea", getTablearea())
            .append("outarea", getOutarea())
            .append("usepercent", getUsepercent())
            .append("facttablearea", getFacttablearea())
            .append("factinarea", getFactinarea())
            .append("factbuildarea", getFactbuildarea())
            .append("factviewarea", getFactviewarea())
            .append("factdownarea", getFactdownarea())
            .append("factpublicarea", getFactpublicarea())
            .append("unitprice", getUnitprice())
            .append("inunitprice", getInunitprice())
            .append("buildunitprice", getBuildunitprice())
            .append("totalprice", getTotalprice())
            .append("oldtotalprice", getOldtotalprice())
            .append("oldunitprice", getOldunitprice())
            .append("unitlowprice", getUnitlowprice())
            .append("totallowprice", getTotallowprice())
            .append("saletime", getSaletime())
            .append("doorno", getDoorno())
            .append("discount", getDiscount())
            .append("discountprice", getDiscountprice())
            .append("commisionpercent", getCommisionpercent())
            .append("commisionmoney", getCommisionmoney())
            .append("commisionpaid", getCommisionpaid())
            .append("custid", getCustid())
            .append("description", getDescription())
            .toString();
    }
}
